package com.takeoff.iot.modbus.common.data;

/**
 * 类功能说明：指令解析<br/>
 * 公司名称：未可自动化 <br/>
 * 作者：weikeauto <br/>
 */
public class MiiHmDeviceData extends MiiSlotData {

	/**
	 阀门开关状态
	 */
	private int valveStatus;
	/**
	 电池容量
	 */
	private float batteryCapacity;
	/**
	 实时压力
	 */
	private float realTimePressure;
	/**
	 实时流量
	 */
	private float realTimeTraffic;
	/**
	 累计流量
	 */
	private float totalTraffic;


	public MiiHmDeviceData(byte[] datas) {
		super(datas);

	}

	public double valveStatus() {
		return valveStatus;
	}

	public double batteryCapacity() {
		return batteryCapacity;
	}

	public double realTimePressure() {
		return realTimePressure;
	}

	public double realTimeTraffic() {
		return realTimeTraffic;
	}

	public double totalTraffic() {
		return totalTraffic;
	}

}
